<fieldset>
  <legend>采购信息</legend>

  <p>
    <b>采购日期</b>
    <%= f.date_select :date %>
  </p>

  <p>
    <span class="col_right">
      <b>采购部门</b><%= f.text_field :by, :size => 25 %>
    </span>
    <span class="col_left">
      <b>供货单位</b> <%= f.text_field :from, :size => 25%>
    </span>
  </p>
  <br/>

  <p>
    <table>
      <tr>
	<th>设备</th>
	<th>数量</th>
	<th>单价</th>
	<th>小计</th>
	<th>Action</th>
      </tr>
      <tr>
	<td>笔记本电脑</td>
	<td>20</td>
	<td>$20000.00</td>
	<td>$400000.00</td>
	<td><%= link_to "删除" %></td>
      </tr>
    </table>
  </p>
  <p>
    <%= submit_tag "确定" %>
  </p>
</fieldset>
